package com.aimee.entity;

import java.sql.Date;

public class Questions {
    private int question_id;
    private int course_id;
    private int user_id;
    private String question_content;
    private String question_img;
    private int question_score;
    private String question_type;
    private String question_optiona;
    private String question_optionb;
    private String question_optionc;
    private String question_optiond;
    private String question_answer;
    private Date update_time;

    public Questions() {
    }

    public Questions(int question_id, int course_id, int user_id, String question_content, String question_img, int question_score, String question_type, String question_optiona, String question_optionb, String question_optionc, String question_optiond, String question_answer, Date update_time) {
        this.question_id = question_id;
        this.course_id = course_id;
        this.user_id = user_id;
        this.question_content = question_content;
        this.question_img = question_img;
        this.question_score = question_score;
        this.question_type = question_type;
        this.question_optiona = question_optiona;
        this.question_optionb = question_optionb;
        this.question_optionc = question_optionc;
        this.question_optiond = question_optiond;
        this.question_answer = question_answer;
        this.update_time = update_time;
    }

    public int getQuestion_id() {
        return question_id;
    }

    public void setQuestion_id(int question_id) {
        this.question_id = question_id;
    }

    public int getCourse_id() {
        return course_id;
    }

    public void setCourse_id(int course_id) {
        this.course_id = course_id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getQuestion_content() {
        return question_content;
    }

    public void setQuestion_content(String question_content) {
        this.question_content = question_content;
    }

    public String getQuestion_img() {
        return question_img;
    }

    public void setQuestion_img(String question_img) {
        this.question_img = question_img;
    }

    public int getQuestion_score() {
        return question_score;
    }

    public void setQuestion_score(int question_score) {
        this.question_score = question_score;
    }

    public String getQuestion_type() {
        return question_type;
    }

    public void setQuestion_type(String question_type) {
        this.question_type = question_type;
    }

    public String getQuestion_optiona() {
        return question_optiona;
    }

    public void setQuestion_optiona(String question_optiona) {
        this.question_optiona = question_optiona;
    }

    public String getQuestion_optionb() {
        return question_optionb;
    }

    public void setQuestion_optionb(String question_optionb) {
        this.question_optionb = question_optionb;
    }

    public String getQuestion_optionc() {
        return question_optionc;
    }

    public void setQuestion_optionc(String question_optionc) {
        this.question_optionc = question_optionc;
    }

    public String getQuestion_optiond() {
        return question_optiond;
    }

    public void setQuestion_optiond(String question_optiond) {
        this.question_optiond = question_optiond;
    }

    public String getQuestion_answer() {
        return question_answer;
    }

    public void setQuestion_answer(String question_answer) {
        this.question_answer = question_answer;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    @Override
    public String toString() {
        return "Questions{" +
                "question_id=" + question_id +
                ", course_id=" + course_id +
                ", user_id=" + user_id +
                ", question_content='" + question_content + '\'' +
                ", question_img='" + question_img + '\'' +
                ", question_score='" + question_score + '\'' +
                ", question_type='" + question_type + '\'' +
                ", question_optiona='" + question_optiona + '\'' +
                ", question_optionb='" + question_optionb + '\'' +
                ", question_optionc='" + question_optionc + '\'' +
                ", question_optiond='" + question_optiond + '\'' +
                ", question_answer='" + question_answer + '\'' +
                ", update_time=" + update_time +
                '}';
    }
}
